package com.briup.oagg.model.bean.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分类训练评估结果
 * </p>
 *
 * @author briup
 * @since 2023-03-27
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("oagg_classification_train_result")
public class ClassificationTrainResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 训练编号;
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String trainId;
    /**
     * 准确率
     */
    private Double accuracy;

    /**
     * 精确率
     */
    private String precisionRate;

    /**
     * 召回率
     */
    private String recall;

    private String f1Score;

    private String gScore;

    @JsonIgnore                 //前端不显示是否删除字段
    @TableField(select = false) //不作为select查询字段
    private Integer deleted;
}
